[global]
fsid = <%= scope.lookupvar('::ceph::fsid') %>
mon initial members = <%= scope.lookupvar('::ceph::monitor_hosts').keys.sort.join(',') %>
mon host = <%= scope.lookupvar('::ceph::monitor_hosts').keys.sort.join(":#{scope.lookupvar('::ceph::mon_port')},") %>:<%= scope.lookupvar('::ceph::mon_port') %>
public network = <%= scope.lookupvar('::ceph::public_network') %>
<%- unless scope.lookupvar('::ceph::cluster_network') == :undef -%>,
cluster network = <%= scope.lookupvar('::ceph::cluster_network') %>
<%- end -%>
auth cluster required = <%= scope.lookupvar('::ceph::auth_cluster_required') %>
auth service required = <%= scope.lookupvar('::ceph::auth_service_required') %>
auth client required = <%= scope.lookupvar('::ceph::auth_client_required') %>
osd journal size = <%= scope.lookupvar('::ceph::osd_journal_size') %>
filestore xattr use omap = <%= scope.lookupvar('::ceph::filestore_xattr_use_omap') %>
osd max backfills = <%= scope.lookupvar('::ceph::osd_max_backfills') %>
osd recovery max active = <%= scope.lookupvar('::ceph::osd_recovery_max_active') %>
osd pool default size = <%= scope.lookupvar('::ceph::osd_pool_default_size') %>
osd pool default min size = <%= scope.lookupvar('::ceph::osd_pool_default_min_size') %>
osd pool default pg num = <%= scope.lookupvar('::ceph::osd_pool_default_pg_num') %>
osd pool default pgp num = <%= scope.lookupvar('::ceph::osd_pool_default_pgp_num') %>
osd crush chooseleaf type = <%= scope.lookupvar('::ceph::osd_crush_chooseleaf_type') %>
osd crush location = root=default host=<%= scope.lookupvar('::fqdn') %> pod=<%= scope.lookupvar('::zone') %>

[client]
<%- unless scope.lookupvar('::ceph::admin_socket') == :undef -%>
admin socket = <%= scope.lookupvar('::ceph::admin_socket') %>
<%- end -%>
<%- unless scope.lookupvar('::ceph::log_file') == :undef -%>
log file = <%= scope.lookupvar('::ceph::log_file') %>
<%- end -%>
<%- unless scope.lookupvar('::ceph::rbd_cache') == :undef -%>
rbd cache = <%= scope.lookupvar('::ceph::rbd_cache') %>
<%- end -%>
<%- unless scope.lookupvar('::ceph::rbd_cache_size') == :undef -%>
rbd cache size = <%= scope.lookupvar('::ceph::rbd_cache_size') %>
<%- end -%>
<%- unless scope.lookupvar('::ceph::rbd_cache_max_dirty') == :undef -%>
rbd cache max dirty = <%= scope.lookupvar('::ceph::rbd_cache_max_dirty') %>
<%- end -%>
<%- unless scope.lookupvar('::ceph::rbd_cache_target_dirty') == :undef -%>
rbd cache target dirty = <%= scope.lookupvar('::ceph::rbd_cache_target_dirty') %>
<%- end -%>
<%- unless scope.lookupvar('::ceph::rbd_cache_max_dirty_age') == :undef -%>
rbd cache max dirty age = <%= scope.lookupvar('::ceph::rbd_cache_max_dirty_age') %>
<%- end -%>
<%- unless scope.lookupvar('::ceph::rbd_cache_writethrough_until_flush') == :undef -%>
rbd cache writethrough until flush = <%= scope.lookupvar('::ceph::rbd_cache_writethrough_until_flush') %>
<%- end -%>
<%- unless scope.lookupvar('::ceph::rbd_concurrent_management_ops') == :undef -%>
rbd concurrent management ops = <%= scope.lookupvar('::ceph::rbd_concurrent_management_ops') %>
<%- end -%>
